{include file="zp_includetop" /}
<title>{eq name='story_page' value='1'}{empty name="story_stitle"}{$vod_name}剧情 {$story_title}{notempty name="vod_total"}(共{php}echo preg_replace('/\D/s', '', $vod_total);{/php}集){/notempty}_{$vod_name}全集剧情{else /}{$story_stitle}{$story_name}{/empty}{else /}{$vod_name}{$story_name}剧情,{$vod_name}分集剧情{/eq} - {$sitename}</title>
<meta name="keywords" content="{eq name='story_page' value='1'}{empty name="story_keywords"}{$vod_name}剧情,{$vod_name}{$story_name}剧情,{$vod_name}全集剧情,{$vod_name}分集剧情,{$vod_name}全集在线观看{else /}{$story_keywords}{/empty}{else /}{$vod_name}{$story_name}剧情,{$vod_name}分集剧情,{$vod_name}{$story_name}剧情介绍,{$vod_name}{$story_name}在线观看{/eq}">
<meta name="description" content="{eq name='story_page' value='1'}{empty name="story_description"}{$vod_name}{$story_name}剧情{$story_title}：{$story_info|msubstr=0,65}...{else /}{$story_description|msubstr=0,65}{/empty}{else /}{$vod_name}{$story_name}分集剧情{$story_title}{$story_info|msubstr=0,65}...{/eq}">  
{include file="zp_include" /}
<link href="{$apicss}skin/css/vod.css" rel="stylesheet">
</head>
<body>
{include file="zp_header" /}
<div class="wp clearfix">
    <div class="d-position"><a href="{$siteurl}" title="{$sitename}">首页</a><span>/</span><a href="{$list_url}" title="{$list_name}">{$list_name}</a><span>/</span><a href="{$vod_readurl}" title="{$vod_name}">{$vod_name}</a><span>/</span><a class="current" title="{$vod_name}剧情"><a href="{$vod_readurl}">{$vod_name}</a>剧情</a></div>
</div>
{php}
$ji= preg_replace('/\D/s', '', $vod_lastname);
$vod_news=zanpian_mysql_news('news:'.$vod_name.';did:'.$vod_id.';field:news_id,news_name,news_cid,news_pic,news_addtime,news_remark;limit:8;cahce_name:default;cahce_time:3600;order:news_addtime desc');
$vod_pid=getlistname($vod_cid,'list_pid');
{/php}{if condition="($vod_pid eq $tpl_id[2]) OR ($vod_cid eq $tpl_id[4])"}{php}$tvtitle="播出时间";{/php}{else /}{php}$tvtitle="上映时间";{/php}{/if}
{include file="plain_vodjuqing" /}
<div class="wp mt15 clearfix">
    <div class="d-warp-left fl">
        <div class="d-play-box" style="margin-top: -10px;width: 890px;">
            <div class="story-t">分集剧情选择<em>{notempty name="story_cont"}{$story_continu}集全集剧情{else /}(剧情已更新到{$story_continu}集{notempty name="vod_total"}，共{php}echo preg_replace('/\D/s', '', $vod_total);{/php}集){else /}){/notempty}{/notempty}</em></div>
            <style>
                .tab_conbox a, .ep-page li {
                    position: relative;
                    float: left;
                    padding: 0 5px;
                    width: 60px;
                    height: 30px;
                    line-height: 30px;
                    color: #f60;
                    border-radius: 3px;
                    text-align: center;
                    font-size: 14px;
                    margin-right: 16.7px;
                    margin-top: 8px;
                    border: 1px solid #f60;
                }
                .ep-page li{border-color: transparent}

                .ep-page li.active {
                    background-color: #f60;
                    color: #fff
                }

                .ep-page li.active:before {
                    content: "";
                    position: absolute;
                    left: 50%;
                    bottom: -5px;
                    margin-left: -2.5px;
                    width: 0;
                    height: 0;
                    border-left: 5px solid transparent;
                    border-right: 5px solid transparent;
                    border-top: 5px solid #f60
                }

                .tab_conbox a.cur,.tab_conbox a:hover {
                    background-color: #f60;
                    color: #fff
                }
            </style>
            <ul class="ep-page clearfix" id="ep-page"></ul>
            <ul class="tab_conbox clearfix" id="tab_conbox">
                {volist name="story_list" id="zanpian" key="ii"}<a {eq name='zanpian.story_url' value='$story_url'}class='cur'{/eq} href='{$zanpian.story_url}' title="{$vod_name}{$zanpian.story_title}剧情">{:zanpian_name_num($zanpian['story_name'])}</a>{/volist}
            </ul>
        </div>
        <div class="d-storyinfo mt10">
            <div class="d-storytitle">
                <span><a href="{$vod_readurl}" target="_blank" title="《{$vod_name}》在线观看"><i class="iconfont">&#xe636;</i> 点击播放</a></span>
                <h4>{$vod_name}剧情：{$story_name} {$story_title}</h4>
            </div>
            <div class="d-storycon mt10">{eq name='story_page' value='1'}<p>{$vod_content}</p><p style="text-align:center"><b>{$vod_name}剧情：{$story_name} {$story_title}</b></p>{/eq}{$story_info|zanpian_actor_replace=###,$vod_actor|zanpian_role_replace=###,$vod_id,$vod_letters}</div>
            <div style="border: 1px solid #ddd; margin-top: 10px;height: 46px;">
                <div class="d-gold fl">
                    <span>{$vod_gold}</span>
                </div>
                <div class="playshare fr">
                    <div class="bread-share aright">
                        <div class="bdsharebuttonbox"><a href="javascript:;" class="bds_more" data-cmd="more"></a><a href="javascript:;" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="javascript:;" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a><a href="javascript:;" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="javascript:;" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a><a href="javascript:;" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="javascript:;" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="javascript:;" class="bds_tieba" data-cmd="tieba" title="分享到百度贴吧"></a><a href="javascript:;" class="bds_douban" data-cmd="douban" title="分享到豆瓣网"></a><a href="javascript:;" class="bds_bdhome" data-cmd="bdhome" title="分享到百度新首页"></a><a href="javascript:;" class="bds_mshare" data-cmd="mshare" title="分享到一键分享"></a><a href="javascript:;" class="bds_copy" data-cmd="copy" title="分享到复制网址"></a></div><script>window._bd_share_config={"common":{"bdSnsKey":{"tsina":"3728684584","tqq":"101158694"},"bdText":"","bdMini":"2","bdSign":"off","bdMiniList":false,"bdPic":"{$vod_picurl}","bdStyle":"1","bdSize":"24"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script></div>
                </div> 
                <div class="sxj fr">{notempty name="story_prevurl"}<a href="{$story_prevurl}"><i class="iconfont">&#xe60e;</i>上一集</a>{else/}<a href="javascript:;">没有了</a>{/notempty}{notempty name="story_nexturl"}<a href="{$story_nexturl}">下一集<i class="iconfont">&#xe61c;</i></a>{else/}<a href="javascript:;">没有了</a>{/notempty}</div>
            </div>
        </div>
        <div class="mt10">{:getadsurl('pinglun-870')}</div>
        {include file="plain_actor" /}
        {include file="plain_storytop" /}
        {include file="zp_comm" /}
    </div>
    <div class="d-warp-right fr">
        <div class="d-right-info clearfix">
            <a target="_blank" href="{$vod_readurl}"><img src="{$vod_picurl}" alt="{$vod_name}"></a>
            <div class="d-bd">
                <h4><a href="{$vod_readurl}" title="{$vod_name}">{$vod_name}</a></h4>
                <input type='hidden' name='_void_id' id='_void_id' value='{$vod_id}'/>
                <div class="d-juqing-star"><span id="d-star"></span><span id="d-fen"></span><span>(<em>--</em>人评价)</span></div>
                <p><em>主演:</em>{notempty name="vod_actor"}{$vod_actor|get_star_url=###,'no',3}{else /}未录入{/notempty}</p>
                <p><em>类型:</em><a href="{$list_url}">{$list_name|msubstr=0,3}</a>{$vod_mcid|mcat_url=$vod_cid}</p>
                <p><em>上映:</em>{$vod_filmtime|date='Y-m-d',###}</p>
                <p><em>更新:</em>{$vod_addtime|date='Y-m-d H:i:s',###}</p>
            </div>
        </div>
        {include file="plain_role" /}
        {include file="plain_toplist" /}
        {php}$hotactor=zanpian_mysql_actor('limit:8;cahce_name:default;cahce_time:600;order:actor_addtime desc');{/php} 
        {notempty name="hotactor"}
        <h3><span><a href="{:getlistname($tpl_id[9],'list_url')}" target="_blank">更多&gt;&gt;</a></span>最新演员表</h3>
        <ul>
        {volist name="hotactor" id="zanpian"}
        <li><em {if condition="$i lt 4"}class="stress"{/if}>{if condition="$i lt 10"}0{$i}{else/}{$i}{/if}.</em><a href="{$zanpian.actor_readurl}" title="{$zanpian.vod_name}演员表" target="_blank">《{$zanpian.vod_name}》演员表</a></li>
        {/volist}
        </ul>
        {/notempty}
        {:getadsurl('youxitx')}
    </div>
</div>
<script>
$(document).ready(function(){
    $.jqtab = function(tabtit,tab_conbox,shijian,zindex) {
		$(tab_conbox).find("li").hide();
		$(tabtit).find("li:eq("+zindex+")").addClass("active").show(); 
		$(tab_conbox).find("li:eq("+zindex+")").show();
		$(tabtit).find("li").bind(shijian,function(){
            $(this).addClass("active").siblings("li").removeClass("active"); 
            var activeindex = $(tabtit).find("li").index(this);
            $(tab_conbox).children().eq(activeindex).show().siblings().hide();
            return false;
		});
	};
    /*调用方法如下：*/	
    var jTatal = parseInt(window.location.pathname.split('/')[3] || 1);
	var jLen = Math.floor($(".tab_conbox a").length/50+1);
	var zindex = jTatal%50 === 0 ? Math.floor(jTatal/50) - 1 : Math.floor(jTatal/50);
	for(i=1;i<=jLen;i++){
		var jstart = (i-1)*50+1;
		var jend = (i-1)*50+50;
		$(".ep-page").append('<li>'+jstart+'-'+jend+'</li>');
	}
	$(".tab_conbox a").each(function(i){
        $(".tab_conbox a").slice(i*50,i*50+50).wrapAll('<li class="tab_con"></li>');
    });
	$.jqtab("#ep-page","#tab_conbox","click",zindex);
})
</script>
{include file="zp_footer" /}
{$story_hits_insert}
<script type="text/javascript">for(var i=0;i<$(".looplist").length;i++){series($(".looplist").eq(i),20,16);}</script>
</body>
</html>